import request from '@/utils/request'

// 创建帖子图片快
export function createDataInfothree(data) {
  return request({
    url: '/system/data-infothree/create',
    method: 'post',
    data: data
  })
}

// 更新帖子图片快
export function updateDataInfothree(data) {
  return request({
    url: '/system/data-infothree/update',
    method: 'put',
    data: data
  })
}

// 删除帖子图片快
export function deleteDataInfothree(id) {
  return request({
    url: '/system/data-infothree/delete?id=' + id,
    method: 'delete'
  })
}

// 获得帖子图片快
export function getDataInfothree(id) {
  return request({
    url: '/system/data-infothree/get?id=' + id,
    method: 'get'
  })
}

// 获得帖子图片快分页
export function getDataInfothreePage(params) {
  return request({
    url: '/system/data-infothree/page',
    method: 'get',
    params
  })
}
// 导出帖子图片快 Excel
export function exportDataInfothreeExcel(params) {
  return request({
    url: '/system/data-infothree/export-excel',
    method: 'get',
    params,
    responseType: 'blob'
  })
}